class Animal:
    type = "动物的类型"
    # color = "白色"
    def __init__(self,ethnic,name,gender,color):
        self.ethnic = ethnic
        self.name = name
        self.gender = gender
        self.color = color
    def toString(self):
        print("这是一只{}，它叫{}，是一只{}的{}的小{}".format(self.ethnic,self.name,self.gender,self.color,self.ethnic))

    @classmethod
    def eat(cls):
        # print(cls.name)
        cls.type = "动物的种类类型"
        print(cls.type)
    @staticmethod
    def sleep():
        print("动物要睡觉。。")